<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>在线计算机等级考试系统</title>
		<meta name="keywords" content="" />
		<meta name="description" content="" />
		<link rel="stylesheet" href="../source/admin_source/tpl/static/css/bootstrap.min.css" type="text/css" media="all" />
		<link rel="stylesheet" href="../source/admin_source/tpl/static/css/jquery-ui.min.css" type="text/css" media="all" />
		<link rel="stylesheet" href="../source/admin_source/tpl/Admin/common/css/admin.css" type="text/css" />
	</head>
	<script type="text/javascript" src="../source/admin_source/tpl/static/js/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="../source/admin_source/tpl/static/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../source/admin_source/tpl/static/js/jquery.artDialog.js?skin=aero"></script>
	<script type="text/javascript" src="../source/admin_source/tpl/static/js/iframeTools.js"></script>
	<script type="text/javascript" src="../source/admin_source/tpl/static/js/jquery.form.min.js"></script>
	<script type="text/javascript" src="../source/admin_source/tpl/static/js/jquery.validate.min.js"></script>
	<script language="javascript" src="../source/admin_source/tpl/static/js/jquery.imagePreview.js"></script>
	<script type="text/javascript" src="../source/admin_source/tpl/static/js/jquery-ui.min.js"></script>
	<script type="text/javascript" src="../source/admin_source/tpl/static/js/datepicker.js"></script>
	<script type="text/javascript" src="../source/admin_source/tpl/Admin/common/js/common.js"></script>

	<body>
		<!--顶部-->
		<nav class="navbar navbar-inverse">
			<div class="container-fluid">
				<div class="navbar-header">
					<a class="navbar-brand" href="<{:U('article/showlist')}>">在线计算机等级考试报名系统</a>
				</div>

				<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
					<ul class="nav navbar-nav navbar-right">
						<li>
							<a href="http://www.kftxlz.gov.cn" target="_blank"><i class="glyphicon glyphicon-home"></i> 网站首页</a>
						</li>
						<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="glyphicon glyphicon-user"></i>
								<{$description}>【
									<{$username}>】 <span class="caret"></span></a>
							<ul class="dropdown-menu" role="menu">
								<li>
									<a href="<{:U('Index/loginout')}>">退出</a>
								</li>
							</ul>
						</li>
					</ul>
				</div>
				<!-- /.navbar-collapse -->
			</div>
			<!-- /.container-fluid -->
		</nav>
		<!--顶部结束-->

		<div class="container-fluid">
			<div class="row">
				<!--<include file="Admin:leftmenu" />-->
				<div class="col-md-2">
					<div id="nav">
						<p id="p_home"><i class="glyphicon glyphicon-home"></i> 首页</p>
						<div class="menu_body" id="b_home">
							<li><i class="glyphicon glyphicon-menu-right"></i>
								<a href="">系统信息</a>
							</li>
						</div>
						<p id="p_article"><i class="glyphicon glyphicon-list-alt"></i> 学生信息管理</p>
						<div class="menu_body" id="b_article">
							<li>
								<a href=""><i class="glyphicon glyphicon-menu-right"></i>学生信息列表</a>
							</li>
						</div>
						<p id="p_pk"><i class="glyphicon glyphicon-edit"></i> 报名管理</p>
						<div class="menu_body" id="b_pk">
							<li>
								<a href=""><i class="glyphicon glyphicon-menu-right"></i>报名审核</a>
							</li>
							<li>
								<a href=""><i class="glyphicon glyphicon-menu-right"></i>报名进度更新</a>
							</li>
						</div>

					</div>
				</div>
				<div class="col-md-10">

					<ol class="breadcrumb">
						<li>
							基本信息管理
						</li>
						<li class="active">基本信息列表</li>
					</ol>

					<p></p>
					
					<form class="form-inline" method="get" action="index.php">
						<div class="form-group">
							<label>分类：</label>
							<select name="path" id="path" class="form-control input-sm" onchange="jumpUrl()">
								<option value="">全部</option>
								<option value='0-1-'> 职业指导</option>
								<option value='0-2-'> 面试宝典</option>
								<option value='0-3-'> 劳动法苑</option>
							</select>
						</div>

						<div class="form-group">
							<label>关键词：</label>
							<input type="text" class="form-control input-sm" name="key">
						</div>
						<button type="submit" class="btn btn-default btn-sm">搜索</button>
						<input type="hidden" name="g" value="Admin" />
						<input type="hidden" name="m" value="Article" />
						<input type="hidden" name="a" value="index" />
					</form>
					
					<form id="ajaxForm" method="post" action="" name="form1" class="form-horizontal form-validata">
						<TABLE class="table table-striped table-bordered table-hover">
							<THEAD>
								<tr>
									<TH>id</TH>
									<TH>状态</TH>
									<TH>姓名</TH>
									<TH>性别</TH>
									<TH>学校</TH>
									<TH>院系</TH>
									<TH>专业</TH>
									<TH>院系</TH>
									<TH>填写时间</TH>
									<TH>操作</TH>
								</tr>
							</THEAD>
							<TBODY>
								<volist name="article" id="ar">
									<tr>
										<td>
											<{$ar.id}>
										</td>
										<td>
											<a href="<{:U('Article/view',array('id'=>$ar['id']))}>">
												<{$ar.title}>
											</a>

										</td>
										<td>
											<switch name="ar.type">
												<case value="0">男</case>
											</switch>
										</td>
										<td>
											<{$ar.id}>
										</td>
										<td>
											<{$ar.id}>
										</td>
										<td>
											<{$ar.id}>
										</td>
										<td>
											<{$ar.id}>
										</td>
										<td>
											<{$ar.id}>
										</td>
										<td>
											<{$ar.id}>
										</td>
										<td>
											<a class="btn btn-xs btn-danger" href="<{:U('Article/delete',array('id'=>$ar['id']))}>">删除</a>
										</td>
									</tr>

								</volist>
							</TBODY>
						</TABLE>

						<!--<div class="row">
							<div class="col-md-6">
								<div class="page">
									<nav>
										<ul class="pagination">
											<li>
												<span>第<{$pagenow}>页&nbsp;&nbsp;共<{$pagenum}>页</span>
												<for start="1" end="$pagenum+1">
													<a href="<{:U('Article/showlist',array('page'=>$i))}>" <if condition="$i eq $pagenow ">class="now"</if>
														>
														<{$i}>
													</a>
												</for>
											</li>
										</ul>
									</nav>
								</div>
							</div>
						</div>-->
					</form>

					<script type="text/javascript">
						$("#path").val("");
					</script>

					<input type="hidden" id="menu_action" value="article" />
				</div>
			</div>

		</div>

		<script type="text/javascript">
			$(document).ready(function() {
				//幻灯片元素与类“menu_body”段与类“menu_head”时点击
				var menu_action = $("#menu_action").val();
				$("#p_" + menu_action).addClass("select");
				$("#b_" + menu_action).show().addClass("local");

				$("#nav p").click(function() {
					$(this).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
					$("#nav p").removeClass("select");
					$(this).addClass("select");
					$(this).next("div.menu_body").addClass("local");
				});
			});
		</script>

	</body>

</html>